package com.f5.management.dao;

import com.f5.management.entity.Permission;
import com.f5.management.entity.dto.AdminUserAndRoleAndPermissionDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName PermissionDAO
 * @Description TODO
 * @Author director吴
 * @Date 2021/4/8 15:46
 * @Version 1.0
 **/
public interface PermissionDAO {

    //查询得到一个权限集合
    public List<Permission> getPermissionList();

    //根据账号查询一个集合权限
    public List<Permission> getPermissionsByAccount(String account);

    //返回所有用户的角色，权限。dto
    public List<AdminUserAndRoleAndPermissionDto> geUserAndRoleAndPermissionDto();

    //

}
